package com.msb.mall.produce;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages = {"com.msb"})
// 指定Mapper接口对应的路径
@MapperScan("com.msb.mall.produce.dao")
// 放开注册中心
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.msb.mall.produce.feign")
public class MallProduceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallProduceApplication.class, args);
    }

}
